﻿using DataModel;
using A_DirectDBAccess.Services.Reporting.DirectDB;

namespace A_DirectDBAccess
{
    public static class ServiceConfig
    {
        const string DirectDBAccessLocation = "../Services/Reporting/DirectDBAccess.svc";

        public static DirectDBAccessClient NewDirectDBAccessClient()
        {
            return ServiceLoader.LoadService(DirectDBAccessLocation, (B, E) => new DirectDBAccessClient(B, E));
        }
    }
}
